<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>退订管理 </h2>
    </div>

    <div class="cf">
        <!-- 高级搜索 -->
        <!-- <div class="search-form fr cf">
            <div class="sleft">
                <input type="text" name="title" class="search-input" value="{:I('title')}" placeholder="请输入菜单名称">
                <a class="sch-btn" href="javascript:;" id="search" url="__SELF__"><i class="btn-search"></i></a>
            </div>
        </div> -->
    </div>

    <div class="data-table table-striped">
        <form class="ids">
            <table>
                <thead>
                    <tr>
                        <th>姓名</th>
                        <th>课程名称</th>
                        <th>手机号</th>
                        <th>年龄</th>
                        <th>订单号</th>
                        <th>退订时间</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                <volist name="data" id="v">
                    <tr>
                        <td>{$v.nickname}</td>
                        <td>{$v.title}</td>
                        <td>{$v.mobile}</td>
                        <td>{$v.age}</td>
                        <td>{$v.order}</td>
                        <td>{$v.cancel_time|date='Y/m/d H:i:s',###}</td>
                        <td><a href="{:U('updateOrder',array('order' =>$v['order']))}">同意退订</a>
                        <a href="{:U('ontOrder',array('order' =>$v['order']))}">不同意</a></td>
                    </tr>
                </volist>
                </tbody>
            </table>
        </form>
        <!-- 分页 -->
        <div class="page">
            {$lists.1}
        </div>
    </div>
</block>

<block name="script">
    <script type="text/javascript">
        $(function() {

            //导航高亮
            highlight_subnav('{:U('index')}');

        });
    </script>
</block>